package com.eedi.org.hospital.controller.vo.hosp;

import com.eedi.framework.common.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "医院更新状态 Request VO")
@Data
public class OrgHospitalUpdateStatusReqVO {

    /**
     * 医院id
     */
    @Schema(description = "医院ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8653")
    @NotEmpty(message = "医院ID不能为空")
    private String orgHospitalId;

    /**
     * 状态
     */
    @Schema(description = "状态，见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private CommonStatusEnum orgStatus;

}
